// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import './plugins/vantui'
import store from './store/index'
//与服务端链接
// import VueSocketIO from 'vue-socket.io'
 
// Vue.use(new VueSocketIO({
//     debug: true,
//     // 服务器端地址
//     connection: 'http://localhost:4000',
//     vuex: {
//     }
// }))

import videoPreview from '@/pages/shiyan/ShowVideo/index.js'
Vue.use(videoPreview)

//直播依赖
// vue-video-player
import VideoPlayer from 'vue-video-player'
require('video.js/dist/video-js.css')
require('vue-video-player/src/custom-theme.css')
import 'videojs-contrib-hls' //单是 RTMP 的话不需要第三方库，如果是 HLS 的话需要引入videojs-contrib-hls，看具体情况而定。
Vue.use(VideoPlayer);


Vue.config.productionTip = false

//引入全局css样式
import '@/assets/css/index.css'
//引入swiper样式
import '../node_modules/swiper/css/swiper.min.css'

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
